package com.oa.ylms.apps.dao.limit;

import java.util.List;

import com.oa.ylms.apps.entity.limit.LimitInfoValue;
import com.oa.ylms.apps.entity.limit.PostLimitValue;

public interface ILimitInfoDao {
	
	public int addLimitInfo(LimitInfoValue limitInfo)throws Exception;

	public boolean editLimitInfo(LimitInfoValue limitInfo)throws Exception;

	public LimitInfoValue queryByLimitId(LimitInfoValue limitInfo)throws Exception;

	public List<LimitInfoValue> queryLimitInfoWithPage(int rows, int pageNo)throws Exception;

	public int countTPages(int rows)throws Exception;

	public List<LimitInfoValue> queryByParentId(LimitInfoValue limitInfo, PostLimitValue postLimit)throws Exception;
	
	public List<LimitInfoValue> queryByLimitIds(String limitIds) throws Exception;
	
}
